package ink.xiaobaibai.vo;

import ink.xiaobaibai.entity.OzonePrice;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @description: 单机器信息
 * @author: 小白白
 * @create: 2021-05-23
 **/

@Data
@NoArgsConstructor
public class OrderItemInfoVo {

    /**
     * 机器信息
     */
    private Object device;

    /**
     * 机器对应负责人的信息
     */
    private UserByDeviceVo userByDeviceVo;

    /**
     * 机器至今营业额
     */
    private BigDecimal sumOrderAmount;

    /**
     * 机器价格表
     */
    private OzonePrice ozonePrice;

    public OrderItemInfoVo(Object device, UserByDeviceVo userByDeviceVo, BigDecimal sumOrderAmount, OzonePrice ozonePrice) {
        this.device = device;
        this.userByDeviceVo = userByDeviceVo;
        this.sumOrderAmount = sumOrderAmount;
        this.ozonePrice = ozonePrice;
    }

    public OrderItemInfoVo(Object device, UserByDeviceVo userByDeviceVo, BigDecimal sumOrderAmount) {
        this.device = device;
        this.userByDeviceVo = userByDeviceVo;
        this.sumOrderAmount = sumOrderAmount;
    }
}
